package com.example.doctor.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * @author sifan
 * @PackagName:com.example.doctor.dto.resp
 * @ClassName: Drug
 * @Description:
 * @date:2021/1/21 15:59
 */
@Data
public class Drug {

    @JSONField(name = "DrugName")
    private String DrugName;

    @JSONField(name = "Spec")
    private String Spec;

    public String getSuggest() {
        return MedWay + "；每日" + Freq + "；" + Does + DoesUnit + "/次；" + Day + "天";
    }

    @JSONField(name = "MedWay")
    private String MedWay;

    @JSONField(name = "Freq")
    private String Freq;

    @JSONField(name = "DoesUnit")
    private String DoesUnit;

    @JSONField(name = "Day")
    private String Day;

    @JSONField(name = "Suggest")
    private String Suggest;

    @JSONField(name = "Does")
    private String Does;


    @JSONField(name = "Remark")
    private String Remark;
    
    @JSONField(name = "Num")
    private int Num;
}
